package com.zjf.addresschk.service;

import com.zjf.addresschk.entity.AddressEntity;
import com.zjf.addresschk.entity.InfAbstract;

import java.util.List;

/**
 * Created by windows on 2015/5/20.
 */
public interface AddressChkService {
    /**
     * 获取待测地址表
     * @return
     */
    List<AddressEntity> getAddressStr(String filepath);

    /**
     * 进行检测
     * @param addressList
     */
    void checkAddress(List<AddressEntity> addressList);

    /**
     * 获取邮政编码
     * @param addressList
     */
    void catchPostcode(List<AddressEntity> addressList);

    /**
     * 输出结果
     * @param addressList
     */
    void outputResult(List<AddressEntity> addressList,String filepath);


}
